home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
-
- void fail();
- #define FAIL 1
-
- main() {
- long
- lcount;
-
- printf("WARNING:\n\007This program is designed to run only on a 386.\n");
- printf("Press <ESC> to abort, any other key to continue ");
- if (getch() == '\x1B')
- exit(0);
- printf("Testing for 80386 32-bit multiply bug\n");
- for (lcount = 1; lcount < 63000; lcount++) {
- if (multest() == FAIL) {
- printf ("\007\007FAILS.\n");
- exit(-1);
- }
- printf("Pass count =%ld.\r", lcount);
- }
-
- exit(0);
- }
-